/* 布局 */
.box-border {
  box-sizing: border-box;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.relative {
  position: relative;
}

.sticky {
  position: sticky;
}

.flex {
  display: flex;
}

.hidden {
  display: none;
}

.inset-0 {
  inset: 0px;
}

.top-0 {
  top: 0;
}

.-top-1 {
  top: -0.25rem;
}

.bottom-0 {
  bottom: 0;
}

.right-0 {
  right: 0;
}

.-right-1 {
  right: -0.25rem;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

.overflow-y-auto {
  overflow-y: auto;
}

.visible {
  visibility: visible;
}

.invisible {
  visibility: hidden;
}

.collapse {
  visibility: collapse;
}

.z-1 {
  z-index: 1;
}

.z-10 {
  z-index: 10;
}

/* Flexbox & Grid */
.flex-1 {
  flex: 1 1 0%;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.end {
  justify-content: end;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.items-center {
  align-items: center;
}

.self-start {
  align-self: flex-start;
}

.self-center {
  align-self: center;
}

/* 尺寸 */
.w-0 {
  width: 0;
}

.w-4 {
  width: 1rem;
  /* 16px */
}

.w-5 {
  width: 1.25rem;
  /* 20px */
}

.w-6 {
  width: 1.5rem;
  /* 24px */
}

.w-8 {
  width: 2rem;
  /* 32px */
}

.w-20 {
  width: 5rem;
  /* 80px */
}

.w-28 {
  width: 7rem;
  /* 112px */
}

.w-48 {
  width: 12rem;
  /* 192px */
}

.w-full {
  width: 100%;
}

.h-0 {
  height: 0;
}

.h-4 {
  height: 1rem;
  /* 16px */
}

.h-5 {
  height: 1.25rem;
  /* 20px */
}

.h-6 {
  height: 1.5rem;
  /* 24px */
}

.h-8 {
  height: 2rem;
  /* 32px */
}

.h-20 {
  height: 5rem;
  /* 80px */
}

.h-41 {
  height: 10.25rem;
  /* 164px */
}

.h-full {
  height: 100%;
}

.min-h-5 {
  min-height: 1.25rem;
  /* 20px */
}

.max-h-5 {
  max-height: 1.25rem;
  /* 20px */
}

.max-h-32 {
  max-height: 8rem;
  /* 128px */
}

.max-h-36 {
  max-height: 9rem;
  /* 144px */
}

.max-h-41 {
  max-height: 10.25rem;
  /* 164px */
}

.max-h-60 {
  max-height: 15rem;
  /* 240px */
}

/* 间隔 */
.mt-1 {
  margin-top: 0.25rem;
  /* 4px */
}

.mt-2 {
  margin-top: 0.5rem;
  /* 8px */
}

.mt-3 {
  margin-top: 0.75rem;
  /* 12px */
}

.mt-5 {
  margin-top: 1.25rem;
  /* 20px */
}

.mb-0\.5 {
  margin-bottom: 0.125rem;
  /* 2px */
}

.mb-1 {
  margin-bottom: 0.25rem;
  /* 4px */
}

.mb-2 {
  margin-bottom: 0.5rem;
  /* 8px */
}

.mb-3 {
  margin-bottom: 0.75rem;
  /* 12px */
}

.mb-4 {
  margin-bottom: 1rem;
  /* 16px */
}

.mb-5 {
  margin-bottom: 1.25rem;
  /* 20px */
}

.mb-6 {
  margin-bottom: 1.5rem;
  /* 24px */
}

.-ml-0\.5 {
  margin-left: -0.125rem;
  /* -2px */
}

.ml-2 {
  margin-left: 0.5rem;
  /* 8px */
}

.ml-4 {
  margin-left: 1rem;
  /* 16px */
}

.mr-1 {
  margin-right: 0.25rem;
  /* 4px */
}

.mr-2 {
  margin-right: 0.5rem;
  /* 8px */
}

.mr-3 {
  margin-right: 0.75rem;
  /* 12px */
}

.mx-2 {
  margin-left: 0.5rem;
  /* 8px */
  margin-right: 0.5rem;
  /* 8px */
}

.-mx-5 {
  margin-left: -1.25rem;
  /* 20px */
  margin-right: -1.25rem;
  /* 20px */
}

.my-1 {
  margin-top: 0.25rem;
  /* 4px */
  margin-bottom: 0.25rem;
  /* 4px */
}

.my-2 {
  margin-top: 0.5rem;
  /* 8px */
  margin-bottom: 0.5rem;
  /* 8px */
}

.my-3 {
  margin-top: 0.75rem;
  /* 12px */
  margin-bottom: 0.75rem;
  /* 12px */
}

.p-2 {
  padding: 0.5rem;
  /* 8px */
}

.p-3 {
  padding: 0.75rem;
  /* 12px */
}

.p-4 {
  padding: 1rem;
  /* 16px */
}

.pl-1 {
  padding-left: 0.25rem;
  /* 4px */
}

.pl-2 {
  padding-left: 0.5rem;
  /* 8px */
}
.pl-5 {
  padding-left: 1.25rem;
  /* 20px */
}

.pr-2 {
  padding-right: 0.5rem;
  /* 8px */
}

.pt-1 {
  padding-top: 0.25rem;
  /* 4px */
}

.pt-2 {
  padding-top: 0.5rem;
  /* 8px */
}

.pt-3 {
  padding-top: 0.75rem;
  /* 12px */
}
.pt-4 {
  padding-top: 1rem;
  /* 16px */
}

.pb-4 {
  padding-bottom: 1rem;
  /* 16px */
}

.pb-5 {
  padding-bottom: 1.25rem;
  /* 20px */
}

.px-2 {
  padding-left: 0.5rem;
  /* 8px */
  padding-right: 0.5rem;
  /* 8px */
}

.px-3 {
  padding-left: 0.75rem;
  /* 12px */
  padding-right: 0.75rem;
  /* 12px */
}

.px-5 {
  padding-left: 1.25rem;
  /* 20px */
  padding-right: 1.25rem;
  /* 20px */
}

.py-1 {
  padding-top: 0.25rem;
  /* 4px */
  padding-bottom: 0.25rem;
  /* 4px */
}

.py-2 {
  padding-top: 0.5rem;
  /* 8px */
  padding-bottom: 0.5rem;
  /* 8px */
}

.py-3 {
  padding-top: 0.75rem;
  /* 12px */
  padding-bottom: 0.75rem;
  /* 12px */
}

.py-4 {
  padding-top: 1rem;
  /* 16px */
  padding-bottom: 1rem;
  /* 16px */
}

/** 排版 */
.text-xs {
  font-size: 0.75rem;
  /* 12px */
  line-height: 1rem;
  /* 16px */
}

.text-sm {
  font-size: 0.875rem;
  /* 14px */
  line-height: 1.25rem;
  /* 20px */
}

.text-base {
  font-size: 1rem;
  /* 16px */
  line-height: 1.5rem;
  /* 24px */
}

.text-lg {
  font-size: 1.125rem;
  /* 18px */
  line-height: 1.75rem;
  /* 28px */
}

.hover\:text-theme-color:hover {
  color: var(--t-color);
}

.font-semibold {
  font-weight: 600;
}

.leading-5 {
  line-height: 1.25rem;
  /* 20px */
}

.text-white {
  color: rgb(255 255 255);
}

.text-center {
  text-align: center;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@supports (display: -webkit-box) {
  .truncate-line-2 {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    line-break: anywhere;
    -webkit-box-orient: vertical;
    white-space: normal;
  }

  .truncate-line-3 {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    line-break: anywhere;
    -webkit-box-orient: vertical;
    white-space: normal;
  }
}

.text-ellipsis {
  text-overflow: ellipsis;
}

.break-all {
  word-break: break-all;
}

/* 背景 */
.bg-white {
  background-color: rgb(255 255 255);
}

.bg-black {
  background-color: rgb(0 0 0);
}

.bg-gray-100 {
  background-color: rgb(243 244 246);
}

.bg-gray-400 {
  background-color: rgb(156 163 175);
}

.hover\:bg-gray-100:hover {
  background-color: rgb(243 244 246);
}

/* 边框 */
.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.rounded-sm {
  border-radius: 0.125rem;
  /* 2px */
}

.rounded {
  border-radius: 0.25rem;
  /* 4px */
}

.rounded-full {
  border-radius: 9999px;
}

.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-t {
  border-width: 0;
  border-top-width: 1px;
}

.border-b {
  border-width: 0;
  border-bottom-width: 1px;
}

.border-b-gray-50 {
  border-bottom-color: rgb(249 250 251);
}

.border-gray {
  border-color: #F0F2F5;
}

.border-gray-100 {
  border-color: rgb(243 244 246);
}

.border-gray-200 {
  border-color: rgb(229 231 235);
}

.hover\:border-gray-300:hover {
  border-color: rgb(209 213 219);
}

.border-solid {
  border-style: solid;
}

.border-dashed {
  border-style: dashed;
}

.border-none {
  border-style: none;
}

.hover\:border:hover {
  border-width: 1px;
}

.hover\:border-solid:hover {
  border-style: solid;
}

.hover\:border-theme-color:hover {
  border-color: var(--t-color);
}

/* Effects */
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.shadow {
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.opacity-0 {
  opacity: 0;
}

.opacity-20 {
  opacity: 0.2;
}

.opacity-100 {
  opacity: 1;
}

/* Filters */

/* 表格（Tables） */

/* Trasitions & Animation */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

/* Transforms */

/* Interactivity */
.cursor-pointer {
  cursor: pointer;
}

.cursor-default {
  cursor: default;
}

.cursor-not-allowed {
  cursor: not-allowed;
}

.pointer-events-none {
  pointer-events: none;
}

.scroll-smooth {
  scroll-behavior: smooth;
}

.select-none {
  user-select: none;
}
